package com.wbt.bambootown.cons;

public class Cons {
    public static class SPCons {
        public static final String SP_NAME = "BamBooTown";
        public static final String IS_FIRST = "isFirst";
        public static final String USER = "user";
        public static final String FARM = "farm";
        //站点id
        public static final String FARM_CHOOSE_NUM = "farm_choose_num";
        //区域id
        public static final String FACILITY_CHOOSE_NUM = "facility_choose_num";
        //监控设备id
        public static final String DEVICES_CHOOSE_NUM = "devices_choose_num";
        //云台速度
        public static final String CONSOLE_SPEED = "console_speed";
        //灯光设备id
        public static final String LIGHT_DEVICES_ID = "light_devices_id";
        //Api Address
        public static final String API_ADDRESS = "api_address";
    }

    public static class ResponseCons {
        public static final int EX_CODE_OVERTIME = -1;
        public static final int EX_CODE_JSON_SYNTAX = -2;
        public static final int EX_CODE_OTHER = -3;
    }

    public static class Observable {
        public static final int REGISTER_NETWORK_STATE_CHANGE = 1;
    }

    public static class Event {
        public static final int EVENT_DEVICEE_DATA = 101;
        public static final int EVENT_CONTROL_DEVICES = 102;
    }

    public static class DateSerach {
        public static final String BEGINTIME = "begin_time";
        public static final String ENDTIME = "end_time";
    }

    public static class DevicesControl{
        public static final int DEVICES_CONTROL_SUCCESS = 201;
        public static final int DEVICES_CONTROL_FAILED = 202;
    }

    public static class HC_DVRManager{
        public static final int HC_DVR_OK = 301;
        public static final int HC_DVR_ERROR = 302;
        public static final int HC_DVR_REPLAY = 303;
    }

}
